import api from "@/api/axiosApi"

const address = {
	AddressAll(url,params){//所有地址
		return api.get(url,params)
	},
	defaultAddress(url,params){//查询默认地址
		return api.get(url,params)
	},
	editAddress(url,params){//用户编辑地址
		return api.post(url,params)
	},
	addUserAddress(url,params){//用户添加地址
		return api.post(url,params)
	},
	deleteAddress(url,params){//删除地址
		return api.del(url,params)
	},
	changeAddress(url,params){
		return api.post(url,params)
	}
}

export default address;